<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>test ViewBook</title>
    <link href="css/jquery.booklet.1.2.0.css" type="text/css" rel="stylesheet" media="screen, projection, tv" />
    <link href="css/default.css" type="text/css" rel="stylesheet"/>
</head>
<body>
    <div id="book">
        <div id="mybook">
            <ul class="b-load">
                <?php
                for($i = 0; $i < 80; $i++){
                    echo '<div>';
                    if($i == 0)
                        echo "<a href='sampleMag/pic-".$i.".jpg' class='firstPage' ><img src='sampleMag/pic-".$i.".jpg' alt='page 1' class='imgBook'/></a>\n";
                    else
                        echo "<a href='sampleMag/pic-".$i.".jpg' alt='' class='imgBook toPic' id='bookP_".$i."'>page ".($i+1)."</a>\n";

                    echo '<span class="description">lorem ipsum</span>';

                    echo '</div>';
                }
                ?>
            </ul>
        </div>
    </div>
    <script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="js/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
    <script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
    <script src="js/jquery.booklet.1.2.0.js" type="text/javascript"></script>
    <script src="js/custom.js" type="text/javascript"></script>
</body>
</html>






